﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/View/Shared/RightFrame.Master" CodeBehind="ChangePassword.aspx.cs" Inherits="Hisun.View.UserAccount.ChangePassword" %>

<asp:Content ContentPlaceHolderID="contentHolder" ID="main" runat="server"> 
    <div class =" CommonPage_MainPanel">
    <div class ="CommonPage_Banner"><div class = "CommomPage_Title">更改密码</div></div>
    <div class ="CommonPage_Body">
            
        <table style="width:100%;"  class = "CommonPage_Table">
            <tr>
                <td class="style2">
                    <asp:Label ID="Label1" runat="server" Text="原密码：" SkinID ="Label" ></asp:Label></td>
                <td>
       
        <asp:TextBox ID="txtOldPwd" runat="server" TextMode="Password"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="txtOldPwd" ErrorMessage="必须输入原密码"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style2">
                     <asp:Label ID="Label2" runat="server" Text="新密码：" SkinID ="Label" ></asp:Label></td>
                <td>
      
        <asp:TextBox ID="txtNewPwd1" runat="server" TextMode="Password"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="txtNewPwd1" ErrorMessage="必须输入新密码"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style2">
                           <asp:Label ID="Label3" runat="server" Text="再次输入新密码：" SkinID ="Label" ></asp:Label></td>
                <td>
                    <asp:TextBox ID="txtNewPwd2" runat="server" TextMode="Password"></asp:TextBox> <asp:CompareValidator ID="CompareValidator1" runat="server" 
            ControlToCompare="txtNewPwd1" ControlToValidate="txtNewPwd2" 
            ErrorMessage="新密码输入不一致"></asp:CompareValidator> </td>
            </tr>
            <tr>
                <td class="style1" colspan="2">
                   <asp:Label ID="labMsg" runat="server" ForeColor="Red"></asp:Label></td>
            </tr>
            <tr>
                <td class="style1" colspan="2">
                        <asp:Button SkinID = "Button" ID="Button1" runat="server" onclick="lnkBtnChangePwd_Click" 
                            Text="修改密码" />
                </td>
            </tr>
        </table>
        <br />
        </div></div>
</asp:Content>
<asp:Content ID="Content1" runat="server" contentplaceholderid="head">

    <style type="text/css">
        .style1
        {
        }
        .style2
        {
            width: 137px;
        }
    </style>

</asp:Content>
